package com.wzu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@TableName("apply_info")
public class ApplyInfo implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id; // 报销ID
    private String cardId; // 身份证号
    private String insuredName; // 参合人姓名
    private String ruralCardNo; // 参合证号
    private String diseaseCode; // 慢病编码
    private String diseaseName; // 疾病名称
    private BigDecimal totalAmount; // 医疗总费用
    private BigDecimal applyAmount; // 报销金额
    private Date applyTime; // 申请时间
    private String applyYear; // 报销年度
    private Long operatorId; // 操作员ID
    private String operatorName; // 操作员姓名
    private Integer auditStatus; // 审核状态
    private Integer remitStatus; // 汇款状态
    private String areaCode; // 行政区域编码

    public ApplyInfo() {}
    public ApplyInfo(Long id, String cardId, String insuredName, String ruralCardNo, String diseaseCode, String diseaseName, BigDecimal totalAmount, BigDecimal applyAmount, Date applyTime, String applyYear, Long operatorId, String operatorName, Integer auditStatus, Integer remitStatus, String areaCode) {
        this.id = id;
        this.cardId = cardId;
        this.insuredName = insuredName;
        this.ruralCardNo = ruralCardNo;
        this.diseaseCode = diseaseCode;
        this.diseaseName = diseaseName;
        this.totalAmount = totalAmount;
        this.applyAmount = applyAmount;
        this.applyTime = applyTime;
        this.applyYear = applyYear;
        this.operatorId = operatorId;
        this.operatorName = operatorName;
        this.auditStatus = auditStatus;
        this.remitStatus = remitStatus;
        this.areaCode = areaCode;
    }
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public String getCardId() { return cardId; }
    public void setCardId(String cardId) { this.cardId = cardId; }
    public String getInsuredName() { return insuredName; }
    public void setInsuredName(String insuredName) { this.insuredName = insuredName; }
    public String getRuralCardNo() { return ruralCardNo; }
    public void setRuralCardNo(String ruralCardNo) { this.ruralCardNo = ruralCardNo; }
    public String getDiseaseCode() { return diseaseCode; }
    public void setDiseaseCode(String diseaseCode) { this.diseaseCode = diseaseCode; }
    public String getDiseaseName() { return diseaseName; }
    public void setDiseaseName(String diseaseName) { this.diseaseName = diseaseName; }
    public BigDecimal getTotalAmount() { return totalAmount; }
    public void setTotalAmount(BigDecimal totalAmount) { this.totalAmount = totalAmount; }
    public BigDecimal getApplyAmount() { return applyAmount; }
    public void setApplyAmount(BigDecimal applyAmount) { this.applyAmount = applyAmount; }
    public Date getApplyTime() { return applyTime; }
    public void setApplyTime(Date applyTime) { this.applyTime = applyTime; }
    public String getApplyYear() { return applyYear; }
    public void setApplyYear(String applyYear) { this.applyYear = applyYear; }
    public Long getOperatorId() { return operatorId; }
    public void setOperatorId(Long operatorId) { this.operatorId = operatorId; }
    public String getOperatorName() { return operatorName; }
    public void setOperatorName(String operatorName) { this.operatorName = operatorName; }
    public Integer getAuditStatus() { return auditStatus; }
    public void setAuditStatus(Integer auditStatus) { this.auditStatus = auditStatus; }
    public Integer getRemitStatus() { return remitStatus; }
    public void setRemitStatus(Integer remitStatus) { this.remitStatus = remitStatus; }
    public String getAreaCode() { return areaCode; }
    public void setAreaCode(String areaCode) { this.areaCode = areaCode; }
    @Override
    public String toString() {
        return "ApplyInfo{" +
                "id=" + id +
                ", cardId='" + cardId + '\'' +
                ", insuredName='" + insuredName + '\'' +
                ", ruralCardNo='" + ruralCardNo + '\'' +
                ", diseaseCode='" + diseaseCode + '\'' +
                ", diseaseName='" + diseaseName + '\'' +
                ", totalAmount=" + totalAmount +
                ", applyAmount=" + applyAmount +
                ", applyTime=" + applyTime +
                ", applyYear='" + applyYear + '\'' +
                ", operatorId=" + operatorId +
                ", operatorName='" + operatorName + '\'' +
                ", auditStatus=" + auditStatus +
                ", remitStatus=" + remitStatus +
                ", areaCode='" + areaCode + '\'' +
                '}';
    }
} 